package com.itheima;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
/**
 * 1.Dao包扫描
 * 2.没有指定别名包,User无法识别
 */
@MapperScan(basePackages = {"com.itheima.dao"})
public class SpringbootMybatisMysqlApplication {

	public static void main(String[] args) {
		SpringApplication.run(SpringbootMybatisMysqlApplication.class, args);
	}

}
